<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login Page</title>
    </head>
    <body>
       <?php
            if(isset($_COOKIE["username"])){
                header("Location:home.php");
            }
        ?>
        <h3>Login Please...</h3>

        <div id="container">
  <div id="top">
    <h2>Please enter your username and password for login</h2>
  </div>
  <div id="leftSide">
  <fieldset>
<legend>Login</legend>
<form action="loginhandler.php" method="POST" class="form">
  <label for="username">Username</label>
    <div class="div_texbox">
    <input name="username" type="text" class="username" id="username" value="username" />
    </div>
    <label for="password">Password</label>
    <div class="div_texbox">
    <input name="password" type="password" class="password" id="password" value="password" />
    </div>
    <div class="buuton_div">
        <input name="Submit" type="submit" value="Submit" class="buttons" />
    </div>
</form>
	</fieldset>
	<br /><hr size="1"><br />

  <div class="clear"></div>
  </div>
    </body>
</html>
